package routers

import (
	"github.com/gin-gonic/gin"
	"mishop/controllers"
)

func InitUserRouter(router *gin.Engine) {
	p := router.Group("/user")
	{
		controller := controllers.NewUser()
		p.GET("/:user_id", controller.Show)
		p.PUT("/:user_id", controller.Update)
		p.POST("", controller.Store)

	}
}
